<h3>VoLog - System </h3>
<hr/>

<form name="basicInput" action="log.php" method="post">
<ul>
	<li><input type="radio" value="0" name="CheckIn"/>Check In</li>
	<li><input type="radio" value="1" name="CheckIn"/>Check Out</li>
</ul>
<input type="text" name="desc" />
<input type="submit" value="submit" />
</form>


<? 
$file = "mixi-vo.log";
$fx = file_get_contents($file);
if(!$fx){
	echo "File Not Found";
}else{
	$temp = explode("|",$fx);
	foreach($temp as $tx)echo "<hr/>".$tx;
}
?>

<? //more reader 

/*
$xml = simplexml_load_file("test.xml");

echo $xml->getName() . "<br />";

foreach($xml->children() as $child)
  {
  echo $child->getName() . ": " . $child . "<br />";
  }
*/


?>